﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UploadImageProduct.aspx.cs" Inherits="Otgruzka.WebForms.UploadImageProduct" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Выбор фотографии товара</title>
</head>

<script type="text/javascript">
    function closeThisWindow(result) {
        window.top.closeRIWindow(result);
    }
</script>

<body>
    <form id="form1" runat="server">
        <div>
            <p><b>Выберите изображение:</b></p>
            <p><asp:FileUpload id="NewImageUpload" runat="server" /></p>
            <p>
                <asp:Button runat="server" ID="saveButton" Text="сохранить" OnClick="SaveImgButton_Click" />&nbsp;
                <asp:Button runat="server" ID="cancelButtom" Text="отменить" OnClientClick="closeThisWindow('false');" />
            </p>
        </div>
    </form>
</body>
</html>
